home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
tone.arc
/
DELAY.ASM
next >
Wrap
Assembly Source File
|
1985-11-26
|
640b
|
18 lines
; ROUTINE TO DELAY SPECIFIED NUMBER OF MILLISECONDS
delay proc far
;
push cx ; save registers
;
delay1:
push cx ; save counter
mov cx,260 ; timing constant
delay2:
loop delay2 ; small loop
pop cx ; restore counter
loop delay1 ; loop to count milliseconds
;
pop cx ; restore registers
ret
;
delay endp